<?php

   define('ACC',true);
   include('../include/init.php');

    $name = isset($_SESSION['username'])?$_SESSION['username']:'';

    //从数据库 获取商品数据
    //获取五个新品商品
    $goods = new goodModel;
    $newlist = $goods->getNewGoods();

    //获取女装这个 顶级分类下面的 子分类下面的 几条数据
    $wumenId = 4;  //女士正装这个 顶极分类的ID
    $treelist = $goods->getColumnDetail($wumenId);

    // print_r($treelist);  exit();
   	include('../view/front/index.html');


    //面包屑笔记
    /*
      <?php foreach($nav as $c) { ?>
      	<code>&gt;</code>
      	<a href="category.php?cat_id=<?php echo $c['cat_id'];?>">
      	<?php echo $c['cat_name']; ?>
      	</a>
      	<?php } ?>
    */

?>